<template>
  <div class="container">
      <h1>Toast</h1>
      <button @click="show1">Vue插件显示</button>
  </div>
</template>
<script>
import toast from '../components/toast/index'
export default {
  components: {
      'g-toast':toast
  },
  data(){
      return{
          show:false
      }
  },
  methods:{
      show1(){
      this.$gxc.toast();
  }
  }
  
}
</script>
<style lang="less" scoped>
.container{
    width: 100%;
}
</style>
